home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Inspectors / InspectMe / Thing1.h < prev    next >
Text File  |  1995-06-12  |  586b  |  32 lines

  1. #import <appkit/View.h>
  2. #define SHAPE_CIRCLES 1
  3. #define SHAPE_SQUARES 2
  4.  
  5. @interface Thing1:View
  6. {
  7.     int    number;
  8.     int    size;
  9.     int    shape;
  10.     BOOL    selected;
  11.     float    bkgndGray;
  12.     NXColor    bkgndColor;
  13.  
  14. }
  15.  
  16. - initFrame:(NXRect *)frameRect;
  17. - drawSelf:(NXRect *)rects :(int)rectCount;
  18. - (BOOL)acceptsFirstMouse;
  19. - mouseDown:(NXEvent *)e;
  20. - setSelected:(BOOL)yesOrNo;
  21. - setNumber:(int)newNumber;
  22. - (int)number;
  23. - setSize:(int)newSize;
  24. - (int)size;
  25. - setShape:(int)newShape;
  26. - (int)shape;
  27. - setBkgndColor:(NXColor)theColor;
  28. - (NXColor)bkgndColor;
  29. - setBkgndGray:(float)theGray;
  30. - (float)bkgndGray;
  31. @end
  32.